@import './transition.scss';
@import "./fonts.css";
@import "./animate.scss";

body {
  height: 100%;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  //font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
   --el-color-primary: #1D52D7;
   --el-color-primary-light-3: #2a74ff;

   //--el-color-primary-dark-2: #4F4DF2;
  // --el-color-primary-light-5: #6f6eff;
  font-family: PingFangSC-Regular;
  overflow: hidden;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  overflow: hidden;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  width: 100vw;
  height: 100vh;

  border-radius: 10px;
  border: 1px solid #5b5b5b33;
  overflow: hidden;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}


.confirmBtn {
  width: 100%;
  height: 38px !important;
  //
  ////border-radius: 5px;
  ////background-color: #4F4DF2 !important;
  //////background: linear-gradient(to right, #4F4DF2, #4F4DF2);
  ////color: #FFFFFF;
  //////box-shadow: 0px 2px 7px 0px rgba(74,83,179,0.19);
  ////>span{
  ////  font-size: 16px;
  ////}
  ////&:hover {
  ////  background-color: #615ff8 !important;
  ////}
  ////
  ////&:active {
  ////  background-color: #4F4DF2 !important;
  ////}

}


.disableBtn {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(to right, #bbbfc4, #bbbfc4) !important;
  border: 0 !important;
  color: #FFFFFF;
}

.confirmCircleBtn {
  width: 80%;
  height: 50px !important;

  border: 0px !important;
  border-radius: 50px !important;
  background-color: #3ca0fe !important;

  color: #FFFFFF;
  box-shadow: 0px 2px 7px 0px rgba(74, 83, 179, 0.19);

  > span {
    font-size: 16px;
  }

  &:hover {
    background-color: #5bafff !important;
  }

  &:active {
    background-color: #3ca0fe !important;
  }

}

.linkButton {
  font-size: 14px;
  color: #4F4DF2;
  cursor: pointer;
  //文字不可选
  -webkit-user-select: none;

  &:hover {
    text-decoration: none;
    color: #0600ff;
  }
}

.linkButtonDisable {
  font-size: 14px;
  color: #bbbfc4;
  cursor: not-allowed;

  &:hover {

    text-decoration: none;
  }
}


.hand {
  cursor: pointer;
}

.no-drag {

  -webkit-app-region: no-drag;

}

.el-dialog__body {
  padding-top: 0 !important;
}

.el-dialog{
  display: flex;
  flex-direction: column;
  margin:0 !important;
  position:absolute !important;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  max-height:calc(100% - 30px);
  max-width:calc(100% - 30px);

  .el-dialog .el-dialog__body{
    flex:1;
    overflow: auto;
  }
}


.qr-box{
  background: red !important;
}
